package com.lechicanh.cgrid.ke.api.message;

import java.io.Serializable;

public class Message implements Serializable {
	private static final long serialVersionUID = 3001L;
	private String m_sender;
	private String m_receiver;
	private Long m_id;
	private String m_message;
	private Object m_attachment;
	
	public Message(String sender, String receiver, Long id, String message, Object attachment){
		m_sender = sender;
		m_receiver =  receiver;
		m_id = id;
		m_message = message;
		m_attachment = attachment;
	}
	
	public Message(){
		
	}
	public Long getId() {
		return m_id;
	}
	public void setId(Long id){
		m_id = id;
	}
	public String getMessage(){
		return m_message;
	}
	public void setMessage(String message){
		m_message = message;
	}
	public String getSender(){
		return m_sender;
	}
	public void setSender(String sender){
		m_sender = sender;
	}
	public String getReciever(){
		return m_receiver;
	}
	public void setReciever(String receiver){
		m_receiver = receiver;
	}
	
	public Object getAttachment(){
		return m_attachment;
	}
	public void setAttachment(Object attachment){
		m_attachment = attachment;
	}
	
}
